VERSIONU=$(VERSU)$(RELEASE)
DOCVERSION=development
-DOCVERSION=@PACKAGE_VERSION@
+# DOCVERSION=@PACKAGE_VERSION@
CC=@CC@
EXEEXT=@EXEEXT@
Makefile: Makefile.in config.status
CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-globals.o:
- $(CC) @CPPFLAGS@ -c $(GBCFLAGS) -DVERSION=\"$(VERSIOND)\" $< $(OUTPUT_SWITCH)$@
-
jeeps/gpslibusb.o:
$(CC) @CPPFLAGS@ -c $(GBCFLAGS) @USB_CFLAGS@ @srcdir@/jeeps/gpslibusb.c $(OUTPUT_SWITCH)$@
jeeps/gpsread.h jeeps/gpsutil.h jeeps/gpsapp.h jeeps/gpsprot.h \
jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h jeeps/gpsmem.h \
jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h garmin_tables.h
-globals.o: globals.c defs.h config.h queue.h gbtypes.h zlib/zlib.h \
+globals.o: globals.c defs.h gbversion.h config.h queue.h gbtypes.h zlib/zlib.h \
zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h
glogbook.o: glogbook.c defs.h config.h queue.h gbtypes.h zlib/zlib.h \
zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h xmlgeneric.h
# YYYYMMDD, please, if beta, i.e. "-beta20060413"
-PACKAGE_RELEASE=""
+PACKAGE_RELEASE="-beta20061113"
cat >>confdefs.h <<_ACEOF
#define PACKAGE_RELEASE "$PACKAGE_RELEASE"
done
- ac_config_files="$ac_config_files Makefile xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc coldsync/Makefile jeeps/Makefile shapelib/Makefile zlib/empty"
+ ac_config_files="$ac_config_files Makefile gbversion.h xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc coldsync/Makefile jeeps/Makefile shapelib/Makefile zlib/empty"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
case "$ac_config_target" in
# Handling of arguments.
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "gbversion.h" ) CONFIG_FILES="$CONFIG_FILES gbversion.h" ;;
"xmldoc/makedoc" ) CONFIG_FILES="$CONFIG_FILES xmldoc/makedoc" ;;
"tools/mkcapabilities" ) CONFIG_FILES="$CONFIG_FILES tools/mkcapabilities" ;;
"win32/gpsbabel.rc" ) CONFIG_FILES="$CONFIG_FILES win32/gpsbabel.rc" ;;
AC_PREREQ(2.59)
-AC_INIT(GPSBabel, 1.3.2-1109, BUG-REPORT-ADDRESS)
+AC_INIT(GPSBabel, 1.3.2, BUG-REPORT-ADDRESS)
# YYYYMMDD, please, if beta, i.e. "-beta20060413"
-PACKAGE_RELEASE=""
+PACKAGE_RELEASE="-beta20061113"
AC_DEFINE_UNQUOTED(PACKAGE_RELEASE, "$PACKAGE_RELEASE", [Define to the release name of this package.])
AC_SUBST(PACKAGE_RELEASE)
# AC_CHECK_FUNCS([atexit floor localtime_r memmove memset pow select sqrt strchr strcspn strdup strerror strncasecmp strrchr strspn strstr strtol strtoul])
AC_CHECK_FUNCS([nanosleep sleep])
-AC_CONFIG_FILES([Makefile xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc coldsync/Makefile jeeps/Makefile shapelib/Makefile zlib/empty])
+AC_CONFIG_FILES([Makefile gbversion.h xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc coldsync/Makefile jeeps/Makefile shapelib/Makefile zlib/empty])
AC_OUTPUT
--- /dev/null
+#define VERSION "1.3.2-beta20061113"
+
--- /dev/null
+#define VERSION "@GBMAJOR@.@GBMINOR@.@GBMICRO@@PACKAGE_RELEASE@"
+
#include "defs.h"
+#include "gbversion.h"
global_options global_opts;
const char gpsbabel_version[] = VERSION;
#define ZLIB_INHIBITED 1
-/* We really should figure out some way to get this from autoconf into
- * a file so that the MSVC build can pick it up
- */
-#define VERSION "1.3.2-1109"